<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>活动发布_****</title>
  <link href="<?php echo base_url('css/bootstrap.min.css'); ?>" rel="stylesheet">
  <link href="<?php echo base_url('css/common.css'); ?>" rel="stylesheet">
  <link href="<?php echo base_url('css/bootstrap-datetimepicker.min.css'); ?>" rel="stylesheet">
  <script src="<?php echo base_url('js/jquery-3.2.1.min.js'); ?>"></script>
  <script src="<?php echo base_url('js/bootstrap.min.js'); ?>"></script>
  <script src="<?php echo base_url('js/bootstrap-datetimepicker.min.js'); ?>"></script>
</head>
<body>
  <nav class="navbar navbar-default" style="margin-bottom: 0" role="navigation">
    <div class="container-fluid">
      <div class="navbar-header col-sm-2">
        <a class="navbar-brand" href="javascript:;">LOGO</a>
      </div>
      <ul class="nav navbar-nav col-sm-5">
        <li><a href="<?php echo base_url('main/home') ?>">网站首页</a></li>
        <li><a href="javascript:;">活动查看</a></li>
        <li class="active"><a href="javascript:;">活动发布</a></li>
      </ul>
      <ul class="nav navbar-nav" id="user col-sm-5">
        <li id="login"><a href="<?php echo base_url('main/login') ?>" onclick="loginpage()">登录</a></li>
        <li id="register"><a href="#" onclick="init()">注册</a></li>
        <li id="center"><a href="<?php echo base_url('main/pWebAdmin') ?>" onclick="enterCenter()">个人中心</a></li>
        <li id="exit"><a href="#">安全退出</a></li>
      </ul>
    </div>
  </nav>
  <div class="container">
      <div class="nav-wrapper">
          <h1 class="hd-title pull-left">创建活动</h1>
      </div>
  </div>
  <br><br><br>
  <div class="col-sm-offset-1 col-sm-10">
  <form class="form-horizontal" role="form" action="<?php echo base_url('main/addActInfo/123'); ?>" method="post">
        <div class="form-group">
          <label for="firstname" class="col-sm-2 control-label">活动简介</label>
          <div class="col-sm-8">
            <input type="text" class="form-control" name="vcActIntroduction" placeholder="请输入活动简介">
          </div>
        </div><div class="form-group">
          <label for="firstname" class="col-sm-2 control-label">活动主题</label>
          <div class="col-sm-8">
            <input type="text" class="form-control" name="vcActTheme" placeholder="请输入活动主题">
          </div>
        </div>
        <div class="form-group">
          <label for="firstname" class="col-sm-2 control-label">活动名称</label>
          <div class="col-sm-8">
            <input type="text" class="form-control" name="vcActName" placeholder="请输入活动名称">
          </div>
        </div>
        <div class="form-group">
          <label for="firstname" class="col-sm-2 control-label">活动时间</label>
            <div class="input-append date form_datetime col-sm-3">
                <input type="text" class="form-control" name="dtActStartTime" placeholder="活动开始时间">
                <span class="add-on"><i class="icon-remove"></i></span>
                <span class="add-on"><i class="icon-calendar"></i></span>
            </div>
            <p class="col-sm-1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;——</p>
            <div class="input-append date form_datetime col-sm-3">
                <input type="text" class="form-control" name="dtActEndTime" placeholder="活动结束时间">
                <span class="add-on"><i class="icon-remove"></i></span>
                <span class="add-on"><i class="icon-calendar"></i></span>
            </div>
        </div>
        <div class="form-group">
          <label for="firstname" class="col-sm-2 control-label">参与对象</label>
          <div class="col-sm-8">
            <input type="text" class="form-control" name="vcActTarget" placeholder="请输入参与对象">
          </div>
        </div>
        <div class="form-group">
          <label for="firstname" class="col-sm-2 control-label">主办方</label>
          <div class="col-sm-8">
            <input type="text" class="form-control" name="vcActHost" placeholder="请输入主办方">
          </div>
        </div>
        <div class="form-group">
          <label for="firstname" class="col-sm-2 control-label">承办平台</label>
          <div class="col-sm-8">
            <input type="text" class="form-control" name="vcActPlatform" placeholder="请输入承办平台">
          </div>
        </div>
        <div class="form-group">
          <label for="firstname" class="col-sm-2 control-label">活动流程</label>
          <div class="col-sm-8">
            <input type="text" class="form-control" name="vcActProcedure" placeholder="请输入活动流程">
          </div>
        </div>
        <div class="form-group">
          <label for="firstname" class="col-sm-2 control-label">活动要求</label>
          <div class="col-sm-8">
            <input type="text" class="form-control" name="vcActRequire" placeholder="请输入活动要求">
          </div>
        </div>
        <div class="form-group">
          <label for="firstname" class="col-sm-2 control-label">评奖过程</label>
          <div class="col-sm-8">
            <input type="text" class="form-control" name="vcActAward" placeholder="请输入评奖过程">
          </div>
        </div>
        <div class="form-group">
          <div class="col-sm-offset-5 col-sm-2">
            <button type="submit" class="btn btn-default" onclick="alert('活动生成成功')">发布</button>
          </div>
        </div>
    </form>
  </div>
</body>
<script type="text/javascript">
    $(".form_datetime").datetimepicker({
        format: "yyyy-mm-dd hh:ii:ss",
        autoclose: true,
        todayBtn: true,
        startDate: "2013-02-14 10:00",
        minuteStep: 10
    });
</script>     
</html>